package com.erp.entity.information;

/**
 * 岗位实体类
 */
public class Position {
    private Integer positionId;
    private String positionCode;
    private String positionName;
    private String departmentCode;
    private Integer companyId;
    public Position() {}

    //连表冗余一个部门的名称
    private String departmentName;

    public Position(String positionCode, String positionName, String departmentCode, Integer companyId) {
        this.positionCode = positionCode;
        this.positionName = positionName;
        this.departmentCode = departmentCode;
        this.companyId = companyId;
    }

    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

    public String getPositionCode() {
        return positionCode;
    }

    public void setPositionCode(String positionCode) {
        this.positionCode = positionCode;
    }

    public Integer getPositionId() {
        return positionId;
    }

    public void setPositionId(Integer positionId) {
        this.positionId = positionId;
    }

    public String getPositionName() {
        return positionName;
    }

    public void setPositionName(String positionName) {
        this.positionName = positionName;
    }

    public String getDepartmentCode() {
        return departmentCode;
    }

    public void setDepartmentCode(String departmentCode) {
        this.departmentCode = departmentCode;
    }

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }
}
